<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
   xmlns:f="http://xmlns.jcp.org/jsf/core"
   xmlns:h="http://xmlns.jcp.org/jsf/html"
   xmlns:p="http://primefaces.org/ui"   
   xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
   template="/WEB-INF/templates/default.xhtml">
   
   	<f:metadata>	   	
	   	<f:viewParam name="firstResult" value="#{sectorList.firstResult}"></f:viewParam>	
   	</f:metadata>
   	<ui:define name="head">
   		<style type="text/css">
	   		
   		</style>
		<h:outputStylesheet name="manageIndex/layout.css"></h:outputStylesheet>
   	
   	</ui:define>
   	<ui:define name="content">
   
	<h:form id="form">
	<div class="column_m" style="float:left;overflow:hidden;">
			<div class="column_box" style="margin-bottom: 10px;">
				<div class="column_title">
					<p:link outcome="auditedCerts.xhtml" styleClass="more" >
							更多&gt;&gt;
						</p:link>	
					<h2>审核通过的资质</h2>
				</div>
				<div class="column_cont">
					<div class="idx_news_list zjcsggContent">						
						<p:repeat var="_cert" value="#{auditedCertList.resultList}" size="#{auditedCertList.resultCount &gt; 7 ? 7 : auditedCertList.resultCount}">
							<p:link outcome="ServiceSupplierCertView.xhtml">
								<f:param name="certId" value="#{_cert.id}"></f:param>
								<h:outputText value="#{_cert.qualificationClass.name}" />	
								<span>
									<h:outputText value="#{_cert.createDate}" >
										<f:convertDateTime  pattern="yyyy-MM-dd"/>
									</h:outputText>
								</span>
							</p:link>
						</p:repeat>		
						<h:outputText value="暂无审核通过的资质" rendered="#{auditedCertList.resultCount == 0}" />
					</div>
				</div>
			</div>
		</div>
		
		<div class="clearb"></div> 
		<div class="column_m" style="float:left;overflow:hidden;">
			<div class="column_box" style="margin-bottom: 10px;">
				<div class="column_title">
					<p:link outcome="auditFailedCerts.xhtml" styleClass="more" >
							更多&gt;&gt;
						</p:link>	
					<h2>审核失败的资质</h2>
				</div>
				<div class="column_cont">
					<div class="idx_news_list zjcsggContent">						
						<p:repeat var="_cert" value="#{auditFailedCertList.resultList}" size="#{auditFailedCertList.resultCount &gt; 7 ? 7 : auditFailedCertList.resultCount}">
							<p:link outcome="ServiceSupplierCertView.xhtml">
								<f:param name="certId" value="#{_cert.id}"></f:param>
								<h:outputText value="#{_cert.qualificationClass.name}" />	
								<span>
									<h:outputText value="#{_cert.createDate}" >
										<f:convertDateTime  pattern="yyyy-MM-dd"/>
									</h:outputText>
								</span>
							</p:link>
						</p:repeat>		
						<h:outputText value="暂无审核失败的资质" rendered="#{auditFailedCertList.resultCount == 0}" />
					</div>
				</div>
			</div>
		</div>
		
		<div class="clearb"></div> 
    </h:form>
   	</ui:define>
</ui:composition>
